using CQRSDemo.Application.Abstractions.Messaging;
using MediatR;

namespace CQRSDemo.Application.Orders.Commands.CreateOrder;

internal sealed class CreateOrderCommandHandler : ICommandHandler<CreateOrderCommand, int>
{
    public Task<int> Handle(CreateOrderCommand request, CancellationToken cancellationToken)
    {

        return Task.FromResult(1);
    }
}